package com.heaven.map.utils;

public enum CodeEnum {
    OK(200),
    Unauthorized(401),
    NotFound(404),
    ServerError(500),
    BadRequest(400);
    private Integer code;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    CodeEnum(Integer code) {
        this.code = code;
    }
}
